<template>
  <div>111</div>
</template>

<script setup lang="ts">
// 定义你的参数
const postData = ref({
  param1: "value1",
  param2: "value2",
  // ... 其他参数
});
let res = useFetch("/api/post/getnews", {
  method: "post",
  headers: {
    "Content-Type": "application/json",
  },
  body: JSON.stringify(postData.value),
});
// console.log(res, "res");
</script>

<style scoped></style>
